package com.topone.permission.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.topone.permission.entity.SysUser;

@Mapper
public interface SysUserMapper {
	//通过phone获取user
	public SysUser findByPhone(String phone);
	
	//创建user
	public void save(SysUser user);
	
	//通过公司获取旗下员工数
	public List<SysUser> findByCompanyCode(String companyCode);
	
	//批量保存
	//public void  batchSave(List<SysUser> userList);
}
